<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="vue">
<div>
    {{info.address.city}}
</div>
</div>
<!--导入JS文件-->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script type="text/javascript">

    var vm = new Vue({
        el: '#vue',
        data(){
            return{
                info: {
                    name: null,
                    address: {
                        country: null,
                        city: null,
                        stress: null
                    },
                    url: null
                }
            }
        },
        mounted(){//ES6新特性
            axios.get('data.json').then(response =>(this.info = response.data));
        }

    });
</script>

</body>
</html>